package com.educate.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author yjj
 * @date 2021/11/17
 * @description: 菜单实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {
    private Long id;
    private Long parentId;
    private String name;
    private String path;
    private  String perms;
    private String icon;
    private Date created;
    private Date updated;
    private List<Menu> children = new ArrayList<>();
}
